import * as CMF from "./CommonFunction";
import * as MSC from "./MessageCenter";
import * as LST from "./ListenerCenter";
import * as FDC from "./FileDisposClass";
import * as DCS from "./DrawClass";
/**全局类*/
export class GlobalClass {
    public CFS:CMF.CommonFunction;
    public static MessageCente:MSC.MessageCenter;
    public static ListenerCenter:LST.ListenerCenter;
    public static FileDisposClass:FDC.FileDisposClass;
    public static DrawClass:DCS.DrawClass;

    public constructor () {
        this.initGlobal();
    }

    /**初始化*/
    private initGlobal () {
        this.CFS = new CMF.CommonFunction();
        GlobalClass.MessageCente = new MSC.MessageCenter();
        GlobalClass.ListenerCenter = new LST.ListenerCenter();
        GlobalClass.FileDisposClass = new FDC.FileDisposClass();
        GlobalClass.DrawClass = new DCS.DrawClass();
    }
}